package com.baizhi.service.impl;

import com.baizhi.dao.UserDao;
import com.baizhi.factory.BeanFactory;
import com.baizhi.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao dao = (UserDao) BeanFactory.getBean("userDao");
    @Override
    public void register() {
        dao.insert();
    }
}
